home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / ilisp / ilisp-el.elc.z / ilisp-el.elc
Emacs Compiled Lisp  |  1998-05-21  |  1.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 33 |on Mon M|ar 9 13|
|00000040| 3a 30 33 3a 33 38 20 31 | 39 39 38 0a 3b 3b 3b 20 |:03:38 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 69 6c 69 73 |s-20.3/l|isp/ilis|
|000000a0| 70 2f 69 6c 69 73 70 2d | 65 6c 2e 65 6c 0a 3b 3b |p/ilisp-|el.el.;;|
|000000b0| 3b 20 65 6d 61 63 73 20 | 76 65 72 73 69 6f 6e 20 |; emacs |version |
|000000c0| 32 30 2e 34 20 22 45 6d | 65 72 61 6c 64 22 20 58 |20.4 "Em|erald" X|
|000000d0| 45 6d 61 63 73 20 20 4c | 75 63 69 64 2e 0a 3b 3b |Emacs L|ucid..;;|
|000000e0| 3b 20 62 79 74 65 63 6f | 6d 70 20 76 65 72 73 69 |; byteco|mp versi|
|000000f0| 6f 6e 20 32 2e 32 35 20 | 58 45 6d 61 63 73 3b 20 |on 2.25 |XEmacs; |
|00000100| 32 32 2d 4d 61 72 2d 39 | 36 2e 0a 3b 3b 3b 20 6f |22-Mar-9|6..;;; o|
|00000110| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 69 73 20 6f |ptimizat|ion is o|
|00000120| 6e 2e 0a 3b 3b 3b 20 74 | 68 69 73 20 66 69 6c 65 |n..;;; t|his file|
|00000130| 20 75 73 65 73 20 6f 70 | 63 6f 64 65 73 20 77 68 | uses op|codes wh|
|00000140| 69 63 68 20 64 6f 20 6e | 6f 74 20 65 78 69 73 74 |ich do n|ot exist|
|00000150| 20 69 6e 20 45 6d 61 63 | 73 20 31 39 2e 0a 0a 28 | in Emac|s 19...(|
|00000160| 69 66 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |if (and |(boundp |
|00000170| 27 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 29 0a |'emacs-v|ersion).|
|00000180| 09 20 28 6f 72 20 28 61 | 6e 64 20 28 62 6f 75 6e |. (or (a|nd (boun|
|00000190| 64 70 20 27 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |dp 'epoc|h::versi|
|000001a0| 6f 6e 29 20 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |on) epoc|h::versi|
|000001b0| 6f 6e 29 0a 09 20 20 20 | 20 20 28 73 74 72 69 6e |on).. | (strin|
|000001c0| 67 2d 6c 65 73 73 70 20 | 65 6d 61 63 73 2d 76 65 |g-lessp |emacs-ve|
|000001d0| 72 73 69 6f 6e 20 22 32 | 30 22 29 29 29 0a 20 20 |rsion "2|0"))). |
|000001e0| 20 20 28 65 72 72 6f 72 | 20 22 60 69 6c 69 73 70 | (error| "`ilisp|
|000001f0| 2d 65 6c 2e 65 6c 27 20 | 77 61 73 20 63 6f 6d 70 |-el.el' |was comp|
|00000200| 69 6c 65 64 20 66 6f 72 | 20 45 6d 61 63 73 20 32 |iled for| Emacs 2|
|00000210| 30 22 29 29 0a 0a 28 6f | 72 20 28 62 6f 75 6e 64 |0"))..(o|r (bound|
|00000220| 70 20 27 63 75 72 72 65 | 6e 74 2d 6c 6f 61 64 2d |p 'curre|nt-load-|
|00000230| 6c 69 73 74 29 20 28 73 | 65 74 71 20 63 75 72 72 |list) (s|etq curr|
|00000240| 65 6e 74 2d 6c 6f 61 64 | 2d 6c 69 73 74 20 6e 69 |ent-load|-list ni|
|00000250| 6c 29 29 0a 0a 0a 23 40 | 31 30 31 20 54 65 73 74 |l))...#@|101 Test|
|00000260| 20 74 6f 20 73 65 65 20 | 69 66 20 49 54 45 4d 20 | to see |if ITEM |
|00000270| 69 73 20 65 71 75 61 6c | 20 74 6f 20 61 6e 20 69 |is equal| to an i|
|00000280| 74 65 6d 20 69 6e 20 4c | 49 53 54 2e 0a 4f 70 74 |tem in L|IST..Opt|
|00000290| 69 6f 6e 20 63 6f 6d 70 | 61 72 69 73 6f 6e 20 66 |ion comp|arison f|
|000002a0| 75 6e 63 74 69 6f 6e 20 | 45 4c 54 3d 20 64 65 66 |unction |ELT= def|
|000002b0| 61 75 6c 74 73 20 74 6f | 20 65 71 75 61 6c 2e 1f |aults to| equal..|
|000002c0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 6c 69 73 70 |.(defali|as 'lisp|
|000002d0| 2d 6d 65 6d 20 23 5b 28 | 69 74 65 6d 20 6c 69 73 |-mem #[(|item lis|
|000002e0| 74 20 26 6f 70 74 69 6f | 6e 61 6c 20 65 6c 74 3d |t &optio|nal elt=|
|000002f0| 29 20 22 08 ae 81 c1 c2 | 1b 18 0c ab 94 0b ac 91 |) ".....|........|
|00000300| 08 0d 0c 40 5c 22 ab 84 | 0c 13 aa 6f 0c 41 89 14 |...@\"..|...o.A..|
|00000310| ac 6c 0b 2a 87 22 20 5b | 65 6c 74 3d 20 65 71 75 |.l.*." [|elt= equ|
|00000320| 61 6c 20 6e 69 6c 20 64 | 6f 6e 65 20 6c 69 73 74 |al nil d|one list|
|00000330| 20 69 74 65 6d 5d 20 34 | 20 28 23 24 20 2e 20 36 | item] 4| (#$ . 6|
|00000340| 30 34 29 5d 29 0a 23 40 | 39 32 20 54 65 73 74 20 |04)]).#@|92 Test |
|00000350| 74 6f 20 73 65 65 20 69 | 66 20 49 54 45 4d 20 69 |to see i|f ITEM i|
|00000360| 73 20 69 6e 20 4c 49 53 | 54 20 75 73 69 6e 67 20 |s in LIS|T using |
|00000370| 4b 45 59 20 6f 6e 20 65 | 61 63 68 20 69 74 65 6d |KEY on e|ach item|
|00000380| 20 69 6e 20 4c 49 53 54 | 0a 62 65 66 6f 72 65 20 | in LIST|.before |
|00000390| 63 6f 6d 70 61 72 69 6e | 67 20 69 74 20 74 6f 20 |comparin|g it to |
|000003a0| 49 54 45 4d 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ITEM...(|defalias|
|000003b0| 20 27 6c 69 73 70 2d 6d | 65 6d 6b 20 23 5b 28 69 | 'lisp-m|emk #[(i|
|000003c0| 74 65 6d 20 6c 69 73 74 | 20 6b 65 79 29 20 22 c0 |tem list| key) ".|
|000003d0| 09 5c 6e c3 23 87 22 20 | 5b 6c 69 73 70 2d 6d 65 |.\n.#." |[lisp-me|
|000003e0| 6d 20 69 74 65 6d 20 6c | 69 73 74 20 23 5b 28 78 |m item l|ist #[(x|
|000003f0| 20 79 29 20 22 08 09 5c | 6e 21 6b 87 22 20 5b 78 | y) "..\|n!k." [x|
|00000400| 20 6b 65 79 20 79 5d 20 | 33 5d 5d 20 34 20 28 23 | key y] |3]] 4 (#|
|00000410| 24 20 2e 20 38 34 33 29 | 5d 29 0a 23 40 39 31 20 |$ . 843)|]).#@91 |
|00000420| 44 65 6c 65 74 65 20 49 | 54 45 4d 20 66 72 6f 6d |Delete I|TEM from|
|00000430| 20 4c 49 53 54 20 75 73 | 69 6e 67 20 54 45 53 54 | LIST us|ing TEST|
|00000440| 20 63 6f 6d 70 61 72 69 | 73 6f 6e 20 61 6e 64 20 | compari|son and |
|00000450| 72 65 74 75 72 6e 20 74 | 68 65 20 72 65 73 75 6c |return t|he resul|
|00000460| 74 2e 0a 44 65 66 61 75 | 6c 74 20 74 65 73 74 20 |t..Defau|lt test |
|00000470| 69 73 20 65 71 75 61 6c | 2e 1f 0a 28 64 65 66 61 |is equal|...(defa|
|00000480| 6c 69 61 73 20 27 6c 69 | 73 70 2d 64 65 6c 20 23 |lias 'li|sp-del #|
|00000490| 5b 28 69 74 65 6d 20 6c | 69 73 74 20 26 6f 70 74 |[(item l|ist &opt|
|000004a0| 69 6f 6e 61 6c 20 74 65 | 73 74 29 20 22 08 ae 81 |ional te|st) "...|
|000004b0| c1 5c 6e c3 89 1c 1d 1e | 06 18 0e 06 ab a9 0c ac |.\n.....|........|
|000004c0| a6 08 0e 07 0e 06 40 5c | 22 ab 92 c8 14 0d ab 88 |......@\|".......|
|000004d0| 0d 0e 06 41 a1 88 aa 63 | 5c 6e 41 12 aa 5e 0e 06 |...A...c|\nA..^..|
|000004e0| 15 0e 06 41 89 16 06 ac | 57 5c 6e 2c 87 22 20 5b |...A....|W\n,." [|
|000004f0| 74 65 73 74 20 65 71 75 | 61 6c 20 6c 69 73 74 20 |test equ|al list |
|00000500| 6e 69 6c 20 64 6f 6e 65 | 20 70 72 65 76 20 65 6c |nil done| prev el|
|00000510| 65 6d 65 6e 74 20 69 74 | 65 6d 20 74 5d 20 35 20 |ement it|em t] 5 |
|00000520| 28 23 24 20 2e 20 31 30 | 35 36 29 5d 29 0a 23 40 |(#$ . 10|56)]).#@|
|00000530| 33 34 20 52 65 74 75 72 | 6e 20 74 68 65 20 6c 61 |34 Retur|n the la|
|00000540| 73 74 20 65 6c 65 6d 65 | 6e 74 20 6f 66 20 4c 49 |st eleme|nt of LI|
|00000550| 53 54 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ST...(de|falias '|
|00000560| 6c 69 73 70 2d 6c 61 73 | 74 20 23 5b 28 6c 69 73 |lisp-las|t #[(lis|
|00000570| 74 29 20 22 08 41 ab 86 | 08 41 89 10 aa 77 08 40 |t) ".A..|.A...w.@|
|00000580| 87 22 20 5b 6c 69 73 74 | 5d 20 32 20 28 23 24 20 |." [list|] 2 (#$ |
|00000590| 2e 20 31 33 33 31 29 5d | 29 0a |. 1331)]|). |
+--------+-------------------------+-------------------------+--------+--------+